package com.sunsharing.common.mailbox;

import com.sunsharing.common.Context;

import java.util.ArrayList;
import java.util.List;

/**
 * 消息队列
 * User: criss
 * Date: 13-4-2
 * Time: 下午3:13
 * To change this template use File | Settings | File Templates.
 */
public interface Mailbox {
    //进队列
    void addQueue(Context context);

    void addQueueListener(QueueHandle queueHandle);

    Context deQueue();

    void startListen();

    void stopListen();

    String monitorStr();
}
